<div>
<a href='<?php echo site_url("/admin/cyayasan/");?>'>Kembali ke Daftar Yayasan</a>
</div>
<hr/>


<div id='yayasan' style='width:100%;'>


<div style="float:left;width:50%;">
<h3>Yayasan </h3> 
<table>
<tr><td>Nama</td><td>:</td><td> <?php echo $yayasan->nama_yayasan; ?></td></tr>
<tr><td>Alamat</td><td>:</td><td> <?php echo $yayasan->alamat; ?></td></tr>
<tr><td>Telp</td><td>:</td><td> <?php echo $yayasan->telp; ?></td></tr>
<tr><td>Email</td><td>:</td><td> <?php echo $yayasan->email; ?></td></tr>
<tr><td>PIC</td><td>:</td><td> <?php echo $yayasan->penanggung_jawab; ?></td></tr>
<tr><td>Kegiatan</td><td>:</td><td> <?php echo $yayasan->keterangan_kegiatan; ?></td></tr>
</table>
</div>

<div id='laporan_keuangan' style="float:left;width:40%;">
<h3>Laporan Keuangan</h3> 
<?php if($laporan_keuangan):?>
<p>
<?php foreach($laporan_keuangan as $a_laporan_keuangan):?>
<?php echo $a_laporan_keuangan->nama_file;?>&nbsp;|&nbsp;
<?php endforeach ?>
</p>
<?php else:?>
Belum Ada data
<?php endif ?>


<div id='photos'>
<h3>Photo</h3> 
<?php if($foto):?>
<p>
<?php foreach($foto as $a_foto):?>
<?php echo $a_foto->nama_file;?>&nbsp;|&nbsp;
<?php endforeach ?>
</p>
<?php else:?>
Belum Ada foto
<?php endif ?>
</div>

</div>

</div>

<div style='clear:both'></div>

<div id='layanan'>
<h3>Jenis Kegiatan</h3> 
<?php if($layanan):?>
<p>
<?php foreach($layanan as $a_layanan):?>
<?php echo $a_layanan->nama_jenisyayasan;?>&nbsp;|&nbsp;
<?php endforeach ?>
</p>
<?php else:?>
Jenis Kegiatan belum diisi
<?php endif ?>
</div>


<div id='youtube'>
<h3>Liputan (Youtube)</h3> 
<?php if($youtube):?>
<p>
<?php foreach($youtube as $a_youtube):?>
<?php echo $a_youtube->keterangan;?>&nbsp;|&nbsp;
<?php endforeach ?>
</p>
<?php else:?>
Belum Ada Liputan
<?php endif ?>
</div>

